import time
from turtledemo.penrose import start
from unittest.util import sorted_list_difference

from paixu import bubble_sort
from shengchengceshishuju import generate_random_list

data=generate_random_list(10000,1,10000)
st=time.time()
ret=bubble_sort(data)
et=time.time()

print("cost time=",et-st)
print("原始数据:",data)
print("排序后数据:",ret)
# import time
# from paixu import bubble_sort
# from shengchengceshishuju import generate_random_list
# data =generate_random_list(10000,1,10000)
# start_time = time.time()
# ret = bubble_sort(data)
# end_time = time.time()
# sort_time = end_time - start_time
# print("原始数据:",data)
# print("排序后时间列表："[sort_time])
